﻿using System.Collections.Generic;
using Coder.Workflow;
using Fee.FileAttachs;
using Identity;

namespace Fee.Orders.AuthProjectWorkflow
{
    public class AuthProjectOrder : ProcessInstance
    {
        protected AuthProjectOrder()
        {

        }

        public AuthProjectOrder(WorkProcess process, User user) : base(process, user)
        {

        }
        /// <summary>
        /// 会审发文号
        /// </summary>
        public string AuthProjectNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        private IList<AuthProjectOrderFileAttach> _attaches;
        /// <summary>
        /// 
        /// </summary>
        public IList<AuthProjectOrderFileAttach> Attaches
        {
            get => _attaches ?? (_attaches = new List<AuthProjectOrderFileAttach>());
            set => _attaches = value;
        }

        /// <summary>
        /// 
        /// </summary>
        public IList<StationCostDetail> CostDetails { get; set; } = new List<StationCostDetail>();

        public static string WorkProcessName = "完工会审";
        public static string DesignUpload { get; set; } = "设计院提交核算价格";
        public static string ProjectAuth { get; set; } = "负责人审核";
    }
}